package com.nnnu.orange.pojo.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class CommentQueryDto {
    private Integer pageNum = 1, pageSize = Integer.MAX_VALUE, bookId, userId, status;

    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private LocalDate startTime, endTime;
}
